package com.pan.annotation;

import com.pan.enume.HistoryEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface RecordHistory {
    HistoryEnum value();
    String ticketName() default "ticket";
    String statusName() default "status";
    String idName() default "id"; // 这是订单id的名称
}
